package 模拟处理流;

public class BufferedReader_ extends Reader_{
    private Reader_ reader_;

    public BufferedReader_(Reader_ reader_) {
this.reader_=reader_;
    }
    public BufferedReader_() {

    }

    public void setReader_(Reader_ reader_) {
        this.reader_ = reader_;
    }
    //加强功能,批量读取文件
    public void readerFiles(int nmb){

        for (int i=0;i<nmb;i++){
            reader_.readerFile();
        }
    }
    //加强功能,批量读取字符串
    public void readerStrings(int nmb){
        for (int i=0;i<nmb;i++){
            reader_.readerString();
        }
    }
}
